package com.blackcattle.data.migrate.mongo.config;

import com.blackcattle.data.migrate.mongo.config.entity.TransferRule;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Data
@Configuration
@ConfigurationProperties(prefix = "data.migrate.mongo")
public class RuleConfig {
    private List<TransferRule> rules;
}
